package com.easou.ps.master.search;

import com.easou.ps.thrift.search.types.SearchScope;
import com.easou.ps.thrift.search.types.WorkerType;

public class SearchTarget {
	private WorkerType type;
	private SearchScope scope;

	public SearchTarget(WorkerType type, SearchScope scope) {
		this.type = type;
		this.scope = scope;
	}

	public WorkerType getType() {
		return type;
	}

	public SearchScope getScope() {
		return scope;
	}
	
	public String toString() {
		return "SearchTarget[" + type + ":" + scope + "]";
	}
	
}
